<template>
    <div>
        <p>邮箱：<input type="text" v-model="email"></p>
        <p><input type="button" value="发送邮箱" @click="send_mail()"></p>
    </div>
</template>

<script>
import { MD_seng_email } from "../axios_send/api.js"
export default {
    name:"send_email",
    data(){
        return{
            email:""
        }
    },
    methods:{
        send_mail(){
            MD_seng_email({"email":this.email})
            .then(res=>{
                console.log(res);
                
            })
        }
    }
}
</script>

<style>

</style>
